﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;


public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Label1.Text = Request.Form["Username"].ToString();
        Response.Write("pass=" + Request.Form["password"].ToString());

        Response.Write("time=" + Request.Form["loginTime"].ToString());
        //构建本地时间转化秒值，用于对比
        DateTime localdate = DateTime.Now;
        int hour = (localdate.Hour * 3600);
        int mm = (localdate.Minute * 60);
        //拼成目标时间值，并转为double型，用于比对。
        int localtime = hour + mm + localdate.Second;

    }
}
